package com.ruoyi.common.core.domain.entity;

import java.util.ArrayList;
import java.util.List;

public class City {

    /** 主键 */
    private int cId;

    /** 名称 */
    private String cName;

    /** 父级id */
    private int fId;

    /** 子城市 */
    private List<City> children = new ArrayList<City>();

    public int getfId() {
        return fId;
    }

    public void setfId(int fId) {
        this.fId = fId;
    }

    public List<City> getChildren() {
        return children;
    }

    public void setChildren(List<City> children) {
        this.children = children;
    }

    public int getcId() {
        return cId;
    }

    public void setcId(int cId) {
        this.cId = cId;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

/*

<!--                                <select id="prvovinces">-->
<!--                                    <option value="-1">&#45;&#45;请选择&#45;&#45;</option>-->
<!--                                    <option th:each="provinces : ${citys}" th:value="${provinces.cId}"  th:text="${provinces.cName}"></option>-->
<!--                                </select>-->
<!--                                <select id="city">-->
<!--                                    <option value="-1">&#45;&#45;请选择&#45;&#45;</option>-->
<!--                                </select>-->
<!--                                <select id="region">-->
<!--                                    <option value="-1">&#45;&#45;请选择&#45;&#45;</option>-->
<!--                                </select>-->


 */
}
